package io.finer.erp.jeecg.finance.vo;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 收款表
 * @Author: jeecg-boot
 * @Date:   2021-03-22
 * @Version: V1.0
 */
@Data
@ApiModel(value="fina_receipt对象", description="收款表")
public class FinaReceiptPage implements Serializable {
	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	@Excel(name = "账期/现金", width = 15)
	private String customerCashType;//客户现金类型text
	
	private String cashType;//客户现金类型value
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private java.lang.String customerName;
	/**客户id*/
    @ApiModelProperty(value = "客户id")
    private java.lang.String customerId;
    /**期初欠款*/
    @Excel(name = "期初欠款", width = 15)
    @ApiModelProperty(value = "期初欠款")
    private java.math.BigDecimal totalOwed;
    /**应收款总额*/
    @Excel(name = "货单金额", width = 15)
    @ApiModelProperty(value = "货单金额")
    private java.math.BigDecimal receivables;
    /**已收款总额*/
    @Excel(name = "收款金额", width = 15)
    @ApiModelProperty(value = "收款金额")
    private java.math.BigDecimal receiveds;
    /**折扣金额*/
    @Excel(name = "折扣金额", width = 15)
    @ApiModelProperty(value = "折扣总金额")
    private java.lang.String discountSumPrice;
    /**应收余额*/
    @Excel(name = "应收余额", width = 15)
    @ApiModelProperty(value = "应收余额")
    private java.math.BigDecimal balance;
    /**已开票金额*/
    @Excel(name = "已开票金额", width = 15)
    @ApiModelProperty(value = "已开票金额")
    private java.math.BigDecimal invoicePrice;
    /**期初未开票*/
    @Excel(name = "期初未开票", width = 15)
    @ApiModelProperty(value = "期初未开票")
    private java.math.BigDecimal cumulativeNoneInvoice;
    /**未开票总金额*/
    @Excel(name = "期末未开票金额", width = 15)
    @ApiModelProperty(value = "期末未开票金额")
    private java.math.BigDecimal noneInvoicePrice;
    /**票据*/
    @ApiModelProperty(value = "票据")
    @Dict(dicCode = "yn")
    private java.lang.String isBill;
    /**备注*/
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**单据编号*/
    @ApiModelProperty(value = "单据编号")
    private java.lang.String code;
    /**账单类型*/
    @ApiModelProperty(value = "账单类型")
    private java.lang.String billType;
    /**扎账开始日期*/
    @Excel(name = "扎账开始日期", width = 15)
	@ApiModelProperty(value = "扎账开始日期")
	private java.lang.String chargeTimeStart;
	/**扎账结束日期*/
    @Excel(name = "扎账结束日期", width = 15)
	@ApiModelProperty(value = "扎账结束日期")
	private java.lang.String chargeTimeEnd;

    
    /*********************应收已收筛选条件******************************************************************/

	private String createTimeStart;//日期
	private String createTimeEnd;

    private BigDecimal receivablesStart;//货单金额
    private BigDecimal receivablesEnd;

    private BigDecimal receivedsStart;//已收金额
    private BigDecimal receivedsEnd;

    private BigDecimal discountSumPriceStart;//折扣金额
    private BigDecimal discountSumPriceEnd;

    private BigDecimal invoicePriceStart;//开票金额
    private BigDecimal invoicePriceEnd;
    



}
